<?php
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site will use a
 * different template.
 *
 * @package WordPress
 * @subpackage Twenty_Ten_Five
 * @since Twenty Ten Five 1.0
 */


get_header(); ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="container">
  <header class="banner">
    <h2><?php the_title(); ?></h2>
          <p>
          <?php 
                    $title = get_post_meta($post->ID, 'title-page', true);
                    if ($title)
                        echo $title;
                    else
                        echo 'hen xui thoi'; 
                    
                    ?>
          </p>
  </header>
		<?php the_content(); ?>
</div>
<?php endwhile; ?>
<!-- #container -->
<?php /*?></div><!-- #content --><?php */?>
<?php get_footer(); ?>

